<?php

namespace App\Controller;

use App\Library\System\Sub\Job;

class JobController extends BaseController
{

    public function __construct()
    {
        $this->setLayout('job');
    }

    public function indexAction()
    {
        $page = $this->createPage('index');
        $job = new Job($this->route('hash'));

        $this->out->title = $job->getTitle();
        $this->out->description = $job->getDescription();
        $this->out->keyword = $job->getKeyword();

        return $page;
    }

}
